gdk: Drop the GdkByteOrder enum
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 23:45:01 +0000 (19:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 23:45:01 +0000 (19:45 -0400)
Move it to the private gdkvisual-x11.h header, which
is the only place where its used.

gdk/gdktypes.h
gdk/x11/gdkvisual-x11.h

index f05456d366fa72efd4dfe320bc3aabd58431435a..1fed3ac8ca2e0eaf8b3c1025cc349961f4b95fdd 100644 (file)
@@ -159,24 +159,6 @@ typedef enum
   GDK_GRAVITY_STATIC
 } GdkGravity;
 
-/**
- * GdkByteOrder:
- * @GDK_LSB_FIRST: The values are stored with the least-significant byte
- *   first. For instance, the 32-bit value 0xffeecc would be stored
- *   in memory as 0xcc, 0xee, 0xff, 0x00.
- * @GDK_MSB_FIRST: The values are stored with the most-significant byte
- *   first. For instance, the 32-bit value 0xffeecc would be stored
- *   in memory as 0x00, 0xff, 0xee, 0xcc.
- *
- * A set of values describing the possible byte-orders
- * for storing pixel values in memory.
- */
-typedef enum
-{
-  GDK_LSB_FIRST,
-  GDK_MSB_FIRST
-} GdkByteOrder;
-
 /* Types of modifiers.
  */
 /**
index 9b3bdd5ee3ff1797be9fbc8a50baab2aa1bdbd87..7fbf9d20d43ee37b37036597963b6296417b94ad 100644 (file)
@@ -46,6 +46,12 @@ typedef enum
   GDK_VISUAL_DIRECT_COLOR
 } GdkVisualType;
 
+typedef enum
+{
+  GDK_LSB_FIRST,
+  GDK_MSB_FIRST
+} GdkByteOrder;
+
 struct _GdkX11Visual
 {
   GObject parent_instance;